﻿<UserControl x:Class="MyData.Extensions.NameValueExpressionControl"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="190" d:DesignWidth="372">
    <Grid>
        <DataGrid AutoGenerateColumns="False" HorizontalAlignment="Left" Name="expressionDataGrid" VerticalAlignment="Top" Width="372" Height="164" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
          HorizontalGridLinesBrush="Silver" VerticalGridLinesBrush="Silver" RowHeight="18" RowHeaderWidth="0" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" Margin="0,26,0,0">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path='Name'}" Header="Name" Width="*" />              
                <DataGridTextColumn Binding="{Binding Path='Value'}" Header="Value" Width="250"/>
            </DataGrid.Columns>
        </DataGrid>
        <Label Content="Variables:" Height="23" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" />
        <ComboBox Height="23" HorizontalAlignment="Right" Name="variablesComboBox" VerticalAlignment="Top" Width="305" SelectionChanged="variablesComboBox_SelectionChanged" />
    </Grid>
</UserControl>
